package com.aaa.web.service.batterymangerservice;

import com.aaa.entity.BreakBattery;
import com.aaa.entity.ChangekBattery;
import com.aaa.entity.RepairBattery;
import com.aaa.web.commons.BatteryInfoQuery;
import com.aaa.web.commons.Result;

import java.util.Map;

/**
 * com.aaa.web.service.batterymangerservice class
 *
 * @author Kevin Jia
 * @CLASS:ProblemBatteryBIZ
 * @Date: 14:47
 */

public interface ProblemBatteryBIZ {
    /**
     * @Description: 获取损毁电瓶
     * @Param: BatteryInfoQuery BreakBattery
     * @return:Map
     * @Author: Kevin Jia
     * @Date: 2018/12/22
     * @Time: 14:58
     */
    Map getProblemBatterys(BatteryInfoQuery query, BreakBattery breakBattery);

    /**
     * @Description: 删除
     * @Param: String
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/22
     * @Time: 15:44
     */
    Result delProblemBattery(String id);

    /**
     * @Description: 修改
     * @Param: BreakBattery
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/22
     * @Time: 15:44
     */
    Result updateProblemBattery(BreakBattery breakBattery);

    /**
     * @Description: 添加
     * @Param: BreakBattery
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/22
     * @Time: 15:44
     */
    Result addProblemBattery(BreakBattery breakBattery);

    /**
     * @Description: 获取地点名
     * @Param:
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/22
     * @Time: 17:08
     */
    Map getAddNames();

    /**
     * @desrciption:获取所有更换记录
     * @param query
     * @param changeBattery
     * @return
     */
    Map getChangeBatterys(BatteryInfoQuery query, ChangekBattery changeBattery);

    /**
     * @Description: 添加更换记录
     * @Param: changeBattery
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/24
     * @Time: 11:03
     */
    Result addChangeBattery(ChangekBattery changeBattery);

    /**
     * @Description: 修改更换记录
     * @Param: changeBattery
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/24
     * @Time: 11:03
     */
    Result updateChangeBattery(ChangekBattery changeBattery);

    /**
     * @Description: 删除
     * @Param: id
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/24
     * @Time: 11:03
     */
    Result delChangeBattery(String id);

    /**
     * @Description: 获取修理记录
     * @Param: query,repairBattery
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/24
     * @Time: 11:04
     */
    Map getRepairBatterys(BatteryInfoQuery query, RepairBattery repairBattery);

    /**
     * @Description: 添加修理记录
     * @Param:changeBattery
     * @return:Map
     * @Author: Kevin Jia
     * @Date: 2018/12/24
     * @Time: 11:04
     */
    Result addRepairBattery(RepairBattery changeBattery);

    /**
     * @Description: 修改
     * @Param:repairBattery
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/24
     * @Time: 11:04
     */
    Result updateRepairBattery(RepairBattery repairBattery);

    /**
     * @Description:删除
     * @Param: id
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/24
     * @Time: 11:04
     */
    Result delRepairBattery(String id);

    /**
     * @Description: 获取当前门店下的所有员工信息
     * @Param: none
     * @return: Map
     * @Author: Kevin Jia
     * @Date: 2018/12/24
     * @Time: 20:32
     */
    Map getEmployeeName();
}
